using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using XMas;
using System.Xml;
using System.Runtime.Serialization;


namespace PluginTest
{
    [Serializable()]
    public class Pluggin_Test : AnimNode_BlendList
    {
        protected const float _SerializationVersionChildTest = 1.0f;


        # region Protected Members

        protected override void Initialize(System.Guid ID)
        {
            base.Initialize(ID);
            _strName = "Pluggin TEST";
            _CategoryName = "TEST Nodes";
        }

        #endregion


        #region Load/Save XML

        public override void WriteXml(XmlWriter writer)
        {
            base.WriteXml(writer);

            writer.WriteElementString("SerializationVersionChildTest", _SerializationVersionChildTest.ToString(new System.Globalization.CultureInfo("en-US")));
        }

        public override void ReadXml(XmlReader reader)
        {
            base.ReadXml(reader);

            float SerializationVersionChildTest = reader.ReadElementContentAsFloat("SerializationVersionChildTest", reader.NamespaceURI);
        }

        #endregion

        public Pluggin_Test()
        {            
        }
    }
}
